//
//  BanBu_VideoView.h
//  BanBu
//
//  Created by Wang Xj on 13-8-30.
//
//

#import <UIKit/UIKit.h>
#import "BanBu_MediaView.h"

@class BanBu_ChatViewController;
@interface BanBu_VideoView : UIView

@property (assign, nonatomic)BanBu_ChatViewController * chatController;
@property (retain, nonatomic)UIImageView * playImageView;
@property (retain, nonatomic) UILabel * hintLabel;
@property(nonatomic, retain) NSString * videoPath;      //视频路径
@property (retain, nonatomic)UIButton * playButton;     //播放按钮

@property (assign, nonatomic) MediaStatus status;       //视频的状态：normal、上传、下载、上传失败、下载失败；已播放过暂时不用
@property (assign, nonatomic) BOOL snapMsg;

//点击播放按钮；
-(void)playVideo;

//设置视频路径
- (void)setVideo:(NSString *)videoStr;

//设置缩略图
- (void)setThumbnail:(NSString *)thumbnail;
@end
